Repository navigation
feat(window): family look, system theme and a prebuilt style engine (0.11.0) - #10
Merged
Merged
Conversation
FormPDF takes a PDF path as its launch argument and forwards a second launch to the open window, so FormCite uses that, with the system viewer as the fallback. Linked files and non-PDFs stay with the system viewer. Docs and log updated.
setup/build_style installs a prebuilt formcite_style wheel when one fits the platform, builds from source with Rust otherwise or on --from-source, and with --wheel builds a locked release wheel and refuses it unless the style regression set passes.
install_all now installs the style engine after the backend, from a prebuilt wheel when one fits and from source only with Rust or on --from-source, and says plainly when neither is possible.
freeze_backend builds the locked release wheel, refuses it unless the regression set passes, and bundles formcite_style as a hidden import so the frozen engine carries the module it loads by name.
The 503 reason now names ./formcite install, which takes a prebuilt module, and setup/build_style --from-source for a Rust build.
A pre-paint script sets the theme before first paint, Preferences offers System, Light and Dark with the accent color, and older theme names map to dark.
The tokens now carry the family ground, sheet, surface, border, text, accent and type scale, with a light set under data-theme; the older names alias them.
A style job builds the locked release wheel on the five runners formcompiler uses, installs it into a Python with no other style module, runs the twelve-case regression set against it and keeps the wheel.
build_style.bat, install_all.bat and freeze_backend.bat now do what their bash twins do: prefer a fitting prebuilt wheel, build from source only with Rust or on --from-source, and freeze only a wheel that passed the regression set.
Organization, behavior, license, catalog, labeled, normalize, recognize and color in prose. File names, identifiers and the JSON evals file are unchanged.
The window answers a missing style engine with 422 and the cite service with 503, so the install message says formatting stays off instead of naming one code.
packaging/formcompiler/apps/formcite.json is FormCite's proposed apps entry in contract mode, like formrig's, and packaging/README.md says nothing here reads it.
docs/STYLE_ENGINE_BUILD.md covers the release build, the prebuilt platforms, where an install looks for a wheel, building from source and the regression gate.
The sidebar head carries the app icon and name, a top bar names the current view with Add on the trailing side, and the list and details sit on one sheet over the ground.
The year column is wide enough for its header, the error line floats over the list foot instead of reserving a blank row, and the header and rows use the family table look.
The details pane grows with the window up to 420 pixels, a creator row sits on one line on wide windows, and the title is a larger field.
One entry for the prebuilt-first style install, the regression-gated wheel in the freeze and the CI style job.
License, color, gray, behavior and catalog, as the owner spells them; no file name or stored value changed.
Below 1250 pixels the type column folds away and the creator column narrows so titles stay readable.
The Appearance section now reads Theme for its System, Light and Dark choice.
The log records the pre-paint theme, the token aliases, the kept row height and the checks.
The Add button in the top bar uses the accent fill as the family's primary action.
The body class it used is no longer set now that the window follows data-theme.
Both pages still gave the old wording; the style engine page now links the build page.
Centered head with badges and links, a features table, download, run from source, repository, maintainers and license sections. Says what is and is not built.
Rows for form.md, FormLedger, formcompiler and formslot, each with its license.
Moves every version site to 0.11.0 and adds the changelog section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(window): family look, system theme and a prebuilt style engine (0.11.0)
Summary
./formcite installuses a prebuilt citation style engine when a wheel fits, and builds from source only when none does. A built wheel is refused unless the twelve style regression cases pass.stylejob that builds the wheel on five runners and runs the regression set. A proposed formcompiler registry entry sits underpackaging/; nothing reads it yet.Commits
27 commits, no merges: 3 feat(setup), 2 feat(shell), 2 fix(list), 2 docs(style), 2 docs(spelling), 2 docs(hashout), and one each of feat(tokens), feat(appearance), feat(opener), fix(toast), fix(style), fix(setup), fix(preferences), fix(details), docs(readme), docs(notice), ci(style), build(setup), build(packaging), chore(release).
Version
0.10.0 to 0.11.0, a minor bump for new features. Every version site moves in the last commit.
Checks
import app.main, app.cliat each of the 27 commits.Not run: macOS and Windows builds, the
.batscripts, the frozen engine, the desktop shell (never compiled), the new CI job, and a hand-off to an installed FormPDF.Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.